package com.s4.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.s4.common.utils.PageUtils;
import com.s4.gulimall.product.entity.ProductAttrValueEntity;

import java.util.List;
import java.util.Map;

/**
 * spu属性值
 *
 * @author tjake
 * @email 845075724@qq.com
 * @date 2022-01-21 16:18:26
 */
public interface ProductAttrValueService extends IService<ProductAttrValueEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveProductAttr(List<ProductAttrValueEntity> collect);

    List<ProductAttrValueEntity> baseAttrListforspu(Long spuId);

    void updateSpuAttr(Long spuId, List<ProductAttrValueEntity> entities);

}

